package com.warrior.service;

import org.springframework.stereotype.Component;

/**
 * Created by shawn on 2017/5/10.
 */
@Component
public class UtilsTools {

    /**
     * 将"<br>"替换成"\n"
     * @param content
     * @return
     */
    public String transformStringNewLine(String content){
        String s = content.replace("<br/>","\n");
        String s1 = s.replace("&lt;br/&gt;","\n");
        return s1;
    }


}
